package com.qf.commerce.service;

import com.github.pagehelper.PageInfo;
import com.qf.commerce.common.dto.ChannelDto;
import com.qf.commerce.common.vo.ChannelVo;

import javax.annotation.Resource;
import java.util.List;

public interface ChannelService {
    int addChannel(ChannelDto channelDto);

    int modifyChannelById(ChannelDto channelDto);

    int deleteChannelById(Long channelId);

    int deleteChannelByIds(List<Long> channelIds);

    PageInfo<ChannelVo> queryChannelList(Integer currentPage);

    PageInfo<ChannelVo> queryChannelByBeans(ChannelDto channelDto,Integer currentPage);
}
